3.440 \(\int \frac {(a+b \log (c (d+\frac {e}{\sqrt {x}})^n))^3}{x^3} \, dx\)

Optimal. Leaf size=595 \[ -\frac {9 b^2 d^2 n^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{2 e^4}-\frac {3 b^2 n^2 \left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{16 e^4}+\frac {4 b^2 d n^2 \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{3 e^4}+\frac {12 a b^2 d^3 n^2}{e^3 \sqrt {x}}+\frac {2 d^3 \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {6 b d^3 n \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}-\frac {3 d^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}+\frac {9 b d^2 n \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{2 e^4}-\frac {\left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{2 e^4}+\frac {3 b n \left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{8 e^4}+\frac {2 d \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {2 b d n \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}+\frac {12 b^3 d^3 n^2 \left (d+\frac {e}{\sqrt {x}}\right ) \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{e^4}-\frac {12 b^3 d^3 n^3}{e^3 \sqrt {x}}+\frac {9 b^3 d^2 n^3 \left (d+\frac {e}{\sqrt {x}}\right )^2}{4 e^4}+\frac {3 b^3 n^3 \left (d+\frac {e}{\sqrt {x}}\right )^4}{64 e^4}-\frac {4 b^3 d n^3 \left (d+\frac {e}{\sqrt {x}}\right )^3}{9 e^4} \]

[Out]

12*b^3*d^3*n^2*ln(c*(d+e/x^(1/2))^n)*(d+e/x^(1/2))/e^4-6*b*d^3*n*(a+b*ln(c*(d+e/x^(1/2))^n))^2*(d+e/x^(1/2))/e
^4+2*d^3*(a+b*ln(c*(d+e/x^(1/2))^n))^3*(d+e/x^(1/2))/e^4+9/4*b^3*d^2*n^3*(d+e/x^(1/2))^2/e^4-9/2*b^2*d^2*n^2*(
a+b*ln(c*(d+e/x^(1/2))^n))*(d+e/x^(1/2))^2/e^4+9/2*b*d^2*n*(a+b*ln(c*(d+e/x^(1/2))^n))^2*(d+e/x^(1/2))^2/e^4-3
*d^2*(a+b*ln(c*(d+e/x^(1/2))^n))^3*(d+e/x^(1/2))^2/e^4-4/9*b^3*d*n^3*(d+e/x^(1/2))^3/e^4+4/3*b^2*d*n^2*(a+b*ln
(c*(d+e/x^(1/2))^n))*(d+e/x^(1/2))^3/e^4-2*b*d*n*(a+b*ln(c*(d+e/x^(1/2))^n))^2*(d+e/x^(1/2))^3/e^4+2*d*(a+b*ln
(c*(d+e/x^(1/2))^n))^3*(d+e/x^(1/2))^3/e^4+3/64*b^3*n^3*(d+e/x^(1/2))^4/e^4-3/16*b^2*n^2*(a+b*ln(c*(d+e/x^(1/2
))^n))*(d+e/x^(1/2))^4/e^4+3/8*b*n*(a+b*ln(c*(d+e/x^(1/2))^n))^2*(d+e/x^(1/2))^4/e^4-1/2*(a+b*ln(c*(d+e/x^(1/2
))^n))^3*(d+e/x^(1/2))^4/e^4+12*a*b^2*d^3*n^2/e^3/x^(1/2)-12*b^3*d^3*n^3/e^3/x^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.64, antiderivative size = 595, normalized size of antiderivative = 1.00, number of steps used = 20, number of rules used = 8, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2454, 2401, 2389, 2296, 2295, 2390, 2305, 2304} \[ -\frac {9 b^2 d^2 n^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{2 e^4}-\frac {3 b^2 n^2 \left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{16 e^4}+\frac {4 b^2 d n^2 \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{3 e^4}+\frac {12 a b^2 d^3 n^2}{e^3 \sqrt {x}}-\frac {3 d^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}+\frac {9 b d^2 n \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{2 e^4}+\frac {2 d^3 \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {6 b d^3 n \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}-\frac {\left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{2 e^4}+\frac {3 b n \left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{8 e^4}+\frac {2 d \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {2 b d n \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}+\frac {12 b^3 d^3 n^2 \left (d+\frac {e}{\sqrt {x}}\right ) \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{e^4}+\frac {9 b^3 d^2 n^3 \left (d+\frac {e}{\sqrt {x}}\right )^2}{4 e^4}-\frac {12 b^3 d^3 n^3}{e^3 \sqrt {x}}+\frac {3 b^3 n^3 \left (d+\frac {e}{\sqrt {x}}\right )^4}{64 e^4}-\frac {4 b^3 d n^3 \left (d+\frac {e}{\sqrt {x}}\right )^3}{9 e^4} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*(d + e/Sqrt[x])^n])^3/x^3,x]

[Out]

(9*b^3*d^2*n^3*(d + e/Sqrt[x])^2)/(4*e^4) - (4*b^3*d*n^3*(d + e/Sqrt[x])^3)/(9*e^4) + (3*b^3*n^3*(d + e/Sqrt[x
])^4)/(64*e^4) + (12*a*b^2*d^3*n^2)/(e^3*Sqrt[x]) - (12*b^3*d^3*n^3)/(e^3*Sqrt[x]) + (12*b^3*d^3*n^2*(d + e/Sq
rt[x])*Log[c*(d + e/Sqrt[x])^n])/e^4 - (9*b^2*d^2*n^2*(d + e/Sqrt[x])^2*(a + b*Log[c*(d + e/Sqrt[x])^n]))/(2*e
^4) + (4*b^2*d*n^2*(d + e/Sqrt[x])^3*(a + b*Log[c*(d + e/Sqrt[x])^n]))/(3*e^4) - (3*b^2*n^2*(d + e/Sqrt[x])^4*
(a + b*Log[c*(d + e/Sqrt[x])^n]))/(16*e^4) - (6*b*d^3*n*(d + e/Sqrt[x])*(a + b*Log[c*(d + e/Sqrt[x])^n])^2)/e^
4 + (9*b*d^2*n*(d + e/Sqrt[x])^2*(a + b*Log[c*(d + e/Sqrt[x])^n])^2)/(2*e^4) - (2*b*d*n*(d + e/Sqrt[x])^3*(a +
 b*Log[c*(d + e/Sqrt[x])^n])^2)/e^4 + (3*b*n*(d + e/Sqrt[x])^4*(a + b*Log[c*(d + e/Sqrt[x])^n])^2)/(8*e^4) + (
2*d^3*(d + e/Sqrt[x])*(a + b*Log[c*(d + e/Sqrt[x])^n])^3)/e^4 - (3*d^2*(d + e/Sqrt[x])^2*(a + b*Log[c*(d + e/S
qrt[x])^n])^3)/e^4 + (2*d*(d + e/Sqrt[x])^3*(a + b*Log[c*(d + e/Sqrt[x])^n])^3)/e^4 - ((d + e/Sqrt[x])^4*(a +
b*Log[c*(d + e/Sqrt[x])^n])^3)/(2*e^4)

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2296

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.), x_Symbol] :> Simp[x*(a + b*Log[c*x^n])^p, x] - Dist[b*n*p, In
t[(a + b*Log[c*x^n])^(p - 1), x], x] /; FreeQ[{a, b, c, n}, x] && GtQ[p, 0] && IntegerQ[2*p]

Rule 2304

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log[c*x^
n]))/(d*(m + 1)), x] - Simp[(b*n*(d*x)^(m + 1))/(d*(m + 1)^2), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rule 2305

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Lo
g[c*x^n])^p)/(d*(m + 1)), x] - Dist[(b*n*p)/(m + 1), Int[(d*x)^m*(a + b*Log[c*x^n])^(p - 1), x], x] /; FreeQ[{
a, b, c, d, m, n}, x] && NeQ[m, -1] && GtQ[p, 0]

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rule 2390

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_) + (g_.)*(x_))^(q_.), x_Symbol] :> Dist[1/
e, Subst[Int[((f*x)/d)^q*(a + b*Log[c*x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p, q}, x]
 && EqQ[e*f - d*g, 0]

Rule 2401

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_)*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Int[Exp
andIntegrand[(f + g*x)^q*(a + b*Log[c*(d + e*x)^n])^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && NeQ[
e*f - d*g, 0] && IGtQ[q, 0]

Rule 2454

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{x^3} \, dx &=-\left (2 \operatorname {Subst}\left (\int x^3 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\frac {1}{\sqrt {x}}\right )\right )\\ &=-\left (2 \operatorname {Subst}\left (\int \left (-\frac {d^3 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^3}+\frac {3 d^2 (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^3}-\frac {3 d (d+e x)^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^3}+\frac {(d+e x)^3 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{e^3}\right ) \, dx,x,\frac {1}{\sqrt {x}}\right )\right )\\ &=-\frac {2 \operatorname {Subst}\left (\int (d+e x)^3 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\frac {1}{\sqrt {x}}\right )}{e^3}+\frac {(6 d) \operatorname {Subst}\left (\int (d+e x)^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\frac {1}{\sqrt {x}}\right )}{e^3}-\frac {\left (6 d^2\right ) \operatorname {Subst}\left (\int (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\frac {1}{\sqrt {x}}\right )}{e^3}+\frac {\left (2 d^3\right ) \operatorname {Subst}\left (\int \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \, dx,x,\frac {1}{\sqrt {x}}\right )}{e^3}\\ &=-\frac {2 \operatorname {Subst}\left (\int x^3 \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}+\frac {(6 d) \operatorname {Subst}\left (\int x^2 \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}-\frac {\left (6 d^2\right ) \operatorname {Subst}\left (\int x \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}+\frac {\left (2 d^3\right ) \operatorname {Subst}\left (\int \left (a+b \log \left (c x^n\right )\right )^3 \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}\\ &=\frac {2 d^3 \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {3 d^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}+\frac {2 d \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {\left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{2 e^4}+\frac {(3 b n) \operatorname {Subst}\left (\int x^3 \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{2 e^4}-\frac {(6 b d n) \operatorname {Subst}\left (\int x^2 \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}+\frac {\left (9 b d^2 n\right ) \operatorname {Subst}\left (\int x \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}-\frac {\left (6 b d^3 n\right ) \operatorname {Subst}\left (\int \left (a+b \log \left (c x^n\right )\right )^2 \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}\\ &=-\frac {6 b d^3 n \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}+\frac {9 b d^2 n \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{2 e^4}-\frac {2 b d n \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}+\frac {3 b n \left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{8 e^4}+\frac {2 d^3 \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {3 d^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}+\frac {2 d \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {\left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{2 e^4}-\frac {\left (3 b^2 n^2\right ) \operatorname {Subst}\left (\int x^3 \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{4 e^4}+\frac {\left (4 b^2 d n^2\right ) \operatorname {Subst}\left (\int x^2 \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}-\frac {\left (9 b^2 d^2 n^2\right ) \operatorname {Subst}\left (\int x \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}+\frac {\left (12 b^2 d^3 n^2\right ) \operatorname {Subst}\left (\int \left (a+b \log \left (c x^n\right )\right ) \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}\\ &=\frac {9 b^3 d^2 n^3 \left (d+\frac {e}{\sqrt {x}}\right )^2}{4 e^4}-\frac {4 b^3 d n^3 \left (d+\frac {e}{\sqrt {x}}\right )^3}{9 e^4}+\frac {3 b^3 n^3 \left (d+\frac {e}{\sqrt {x}}\right )^4}{64 e^4}+\frac {12 a b^2 d^3 n^2}{e^3 \sqrt {x}}-\frac {9 b^2 d^2 n^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{2 e^4}+\frac {4 b^2 d n^2 \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{3 e^4}-\frac {3 b^2 n^2 \left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{16 e^4}-\frac {6 b d^3 n \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}+\frac {9 b d^2 n \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{2 e^4}-\frac {2 b d n \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}+\frac {3 b n \left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{8 e^4}+\frac {2 d^3 \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {3 d^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}+\frac {2 d \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {\left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{2 e^4}+\frac {\left (12 b^3 d^3 n^2\right ) \operatorname {Subst}\left (\int \log \left (c x^n\right ) \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^4}\\ &=\frac {9 b^3 d^2 n^3 \left (d+\frac {e}{\sqrt {x}}\right )^2}{4 e^4}-\frac {4 b^3 d n^3 \left (d+\frac {e}{\sqrt {x}}\right )^3}{9 e^4}+\frac {3 b^3 n^3 \left (d+\frac {e}{\sqrt {x}}\right )^4}{64 e^4}+\frac {12 a b^2 d^3 n^2}{e^3 \sqrt {x}}-\frac {12 b^3 d^3 n^3}{e^3 \sqrt {x}}+\frac {12 b^3 d^3 n^2 \left (d+\frac {e}{\sqrt {x}}\right ) \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{e^4}-\frac {9 b^2 d^2 n^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{2 e^4}+\frac {4 b^2 d n^2 \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{3 e^4}-\frac {3 b^2 n^2 \left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )}{16 e^4}-\frac {6 b d^3 n \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}+\frac {9 b d^2 n \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{2 e^4}-\frac {2 b d n \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{e^4}+\frac {3 b n \left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^2}{8 e^4}+\frac {2 d^3 \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {3 d^2 \left (d+\frac {e}{\sqrt {x}}\right )^2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}+\frac {2 d \left (d+\frac {e}{\sqrt {x}}\right )^3 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{e^4}-\frac {\left (d+\frac {e}{\sqrt {x}}\right )^4 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right )^3}{2 e^4}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 1.10, size = 766, normalized size = 1.29 \[ \frac {-288 a^3 e^4-12 b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right ) \left (72 a^2 e^4+12 b d^4 n x^2 (25 b n-12 a) \log \left (d \sqrt {x}+e\right )+6 b d^4 n x^2 \log (x) (12 a-25 b n)-12 a b e n \left (-12 d^3 x^{3/2}+6 d^2 e x-4 d e^2 \sqrt {x}+3 e^3\right )+b^2 e n^2 \left (-300 d^3 x^{3/2}+78 d^2 e x-28 d e^2 \sqrt {x}+9 e^3\right )\right )+864 a^2 b d^4 n x^2 \log \left (d \sqrt {x}+e\right )-432 a^2 b d^4 n x^2 \log (x)-864 a^2 b d^3 e n x^{3/2}+432 a^2 b d^2 e^2 n x-288 a^2 b d e^3 n \sqrt {x}+216 a^2 b e^4 n+72 b^2 d^4 n^2 x^2 \log ^2\left (d+\frac {e}{\sqrt {x}}\right ) \left (12 a+12 b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )+12 b n \log \left (d \sqrt {x}+e\right )-6 b n \log (x)-25 b n\right )+72 b^2 d^4 n^2 x^2 \log \left (d+\frac {e}{\sqrt {x}}\right ) \left (2 \log \left (d \sqrt {x}+e\right )-\log (x)\right ) \left (-12 a-12 b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )+25 b n\right )+72 b^2 \log ^2\left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right ) \left (e \left (-12 a e^3-12 b d^3 n x^{3/2}+6 b d^2 e n x-4 b d e^2 n \sqrt {x}+3 b e^3 n\right )+12 b d^4 n x^2 \log \left (d \sqrt {x}+e\right )-6 b d^4 n x^2 \log (x)\right )-3600 a b^2 d^4 n^2 x^2 \log \left (d \sqrt {x}+e\right )+1800 a b^2 d^4 n^2 x^2 \log (x)+3600 a b^2 d^3 e n^2 x^{3/2}-936 a b^2 d^2 e^2 n^2 x+336 a b^2 d e^3 n^2 \sqrt {x}-108 a b^2 e^4 n^2-288 b^3 e^4 \log ^3\left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )-576 b^3 d^4 n^3 x^2 \log ^3\left (d+\frac {e}{\sqrt {x}}\right )+4980 b^3 d^4 n^3 x^2 \log \left (d \sqrt {x}+e\right )-2490 b^3 d^4 n^3 x^2 \log (x)-4980 b^3 d^3 e n^3 x^{3/2}+690 b^3 d^2 e^2 n^3 x-148 b^3 d e^3 n^3 \sqrt {x}+27 b^3 e^4 n^3}{576 e^4 x^2} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*(d + e/Sqrt[x])^n])^3/x^3,x]

[Out]

(-288*a^3*e^4 + 216*a^2*b*e^4*n - 108*a*b^2*e^4*n^2 + 27*b^3*e^4*n^3 - 288*a^2*b*d*e^3*n*Sqrt[x] + 336*a*b^2*d
*e^3*n^2*Sqrt[x] - 148*b^3*d*e^3*n^3*Sqrt[x] + 432*a^2*b*d^2*e^2*n*x - 936*a*b^2*d^2*e^2*n^2*x + 690*b^3*d^2*e
^2*n^3*x - 864*a^2*b*d^3*e*n*x^(3/2) + 3600*a*b^2*d^3*e*n^2*x^(3/2) - 4980*b^3*d^3*e*n^3*x^(3/2) - 576*b^3*d^4
*n^3*x^2*Log[d + e/Sqrt[x]]^3 - 288*b^3*e^4*Log[c*(d + e/Sqrt[x])^n]^3 + 864*a^2*b*d^4*n*x^2*Log[e + d*Sqrt[x]
] - 3600*a*b^2*d^4*n^2*x^2*Log[e + d*Sqrt[x]] + 4980*b^3*d^4*n^3*x^2*Log[e + d*Sqrt[x]] + 72*b^2*d^4*n^2*x^2*L
og[d + e/Sqrt[x]]*(-12*a + 25*b*n - 12*b*Log[c*(d + e/Sqrt[x])^n])*(2*Log[e + d*Sqrt[x]] - Log[x]) - 432*a^2*b
*d^4*n*x^2*Log[x] + 1800*a*b^2*d^4*n^2*x^2*Log[x] - 2490*b^3*d^4*n^3*x^2*Log[x] + 72*b^2*d^4*n^2*x^2*Log[d + e
/Sqrt[x]]^2*(12*a - 25*b*n + 12*b*Log[c*(d + e/Sqrt[x])^n] + 12*b*n*Log[e + d*Sqrt[x]] - 6*b*n*Log[x]) + 72*b^
2*Log[c*(d + e/Sqrt[x])^n]^2*(e*(-12*a*e^3 + 3*b*e^3*n - 4*b*d*e^2*n*Sqrt[x] + 6*b*d^2*e*n*x - 12*b*d^3*n*x^(3
/2)) + 12*b*d^4*n*x^2*Log[e + d*Sqrt[x]] - 6*b*d^4*n*x^2*Log[x]) - 12*b*Log[c*(d + e/Sqrt[x])^n]*(72*a^2*e^4 +
 b^2*e*n^2*(9*e^3 - 28*d*e^2*Sqrt[x] + 78*d^2*e*x - 300*d^3*x^(3/2)) - 12*a*b*e*n*(3*e^3 - 4*d*e^2*Sqrt[x] + 6
*d^2*e*x - 12*d^3*x^(3/2)) + 12*b*d^4*n*(-12*a + 25*b*n)*x^2*Log[e + d*Sqrt[x]] + 6*b*d^4*n*(12*a - 25*b*n)*x^
2*Log[x]))/(576*e^4*x^2)

________________________________________________________________________________________

fricas [A]  time = 0.46, size = 869, normalized size = 1.46 \[ \frac {27 \, b^{3} e^{4} n^{3} - 288 \, b^{3} e^{4} \log \relax (c)^{3} - 108 \, a b^{2} e^{4} n^{2} + 216 \, a^{2} b e^{4} n - 288 \, a^{3} e^{4} + 288 \, {\left (b^{3} d^{4} n^{3} x^{2} - b^{3} e^{4} n^{3}\right )} \log \left (\frac {d x + e \sqrt {x}}{x}\right )^{3} + 216 \, {\left (2 \, b^{3} d^{2} e^{2} n x + b^{3} e^{4} n - 4 \, a b^{2} e^{4}\right )} \log \relax (c)^{2} + 72 \, {\left (6 \, b^{3} d^{2} e^{2} n^{3} x + 3 \, b^{3} e^{4} n^{3} - 12 \, a b^{2} e^{4} n^{2} - {\left (25 \, b^{3} d^{4} n^{3} - 12 \, a b^{2} d^{4} n^{2}\right )} x^{2} + 12 \, {\left (b^{3} d^{4} n^{2} x^{2} - b^{3} e^{4} n^{2}\right )} \log \relax (c) - 4 \, {\left (3 \, b^{3} d^{3} e n^{3} x + b^{3} d e^{3} n^{3}\right )} \sqrt {x}\right )} \log \left (\frac {d x + e \sqrt {x}}{x}\right )^{2} + 6 \, {\left (115 \, b^{3} d^{2} e^{2} n^{3} - 156 \, a b^{2} d^{2} e^{2} n^{2} + 72 \, a^{2} b d^{2} e^{2} n\right )} x - 36 \, {\left (3 \, b^{3} e^{4} n^{2} - 12 \, a b^{2} e^{4} n + 24 \, a^{2} b e^{4} + 2 \, {\left (13 \, b^{3} d^{2} e^{2} n^{2} - 12 \, a b^{2} d^{2} e^{2} n\right )} x\right )} \log \relax (c) - 12 \, {\left (9 \, b^{3} e^{4} n^{3} - 36 \, a b^{2} e^{4} n^{2} + 72 \, a^{2} b e^{4} n - {\left (415 \, b^{3} d^{4} n^{3} - 300 \, a b^{2} d^{4} n^{2} + 72 \, a^{2} b d^{4} n\right )} x^{2} - 72 \, {\left (b^{3} d^{4} n x^{2} - b^{3} e^{4} n\right )} \log \relax (c)^{2} + 6 \, {\left (13 \, b^{3} d^{2} e^{2} n^{3} - 12 \, a b^{2} d^{2} e^{2} n^{2}\right )} x - 12 \, {\left (6 \, b^{3} d^{2} e^{2} n^{2} x + 3 \, b^{3} e^{4} n^{2} - 12 \, a b^{2} e^{4} n - {\left (25 \, b^{3} d^{4} n^{2} - 12 \, a b^{2} d^{4} n\right )} x^{2}\right )} \log \relax (c) - 4 \, {\left (7 \, b^{3} d e^{3} n^{3} - 12 \, a b^{2} d e^{3} n^{2} + 3 \, {\left (25 \, b^{3} d^{3} e n^{3} - 12 \, a b^{2} d^{3} e n^{2}\right )} x - 12 \, {\left (3 \, b^{3} d^{3} e n^{2} x + b^{3} d e^{3} n^{2}\right )} \log \relax (c)\right )} \sqrt {x}\right )} \log \left (\frac {d x + e \sqrt {x}}{x}\right ) - 4 \, {\left (37 \, b^{3} d e^{3} n^{3} - 84 \, a b^{2} d e^{3} n^{2} + 72 \, a^{2} b d e^{3} n + 72 \, {\left (3 \, b^{3} d^{3} e n x + b^{3} d e^{3} n\right )} \log \relax (c)^{2} + 3 \, {\left (415 \, b^{3} d^{3} e n^{3} - 300 \, a b^{2} d^{3} e n^{2} + 72 \, a^{2} b d^{3} e n\right )} x - 12 \, {\left (7 \, b^{3} d e^{3} n^{2} - 12 \, a b^{2} d e^{3} n + 3 \, {\left (25 \, b^{3} d^{3} e n^{2} - 12 \, a b^{2} d^{3} e n\right )} x\right )} \log \relax (c)\right )} \sqrt {x}}{576 \, e^{4} x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(1/2))^n))^3/x^3,x, algorithm="fricas")

[Out]

1/576*(27*b^3*e^4*n^3 - 288*b^3*e^4*log(c)^3 - 108*a*b^2*e^4*n^2 + 216*a^2*b*e^4*n - 288*a^3*e^4 + 288*(b^3*d^
4*n^3*x^2 - b^3*e^4*n^3)*log((d*x + e*sqrt(x))/x)^3 + 216*(2*b^3*d^2*e^2*n*x + b^3*e^4*n - 4*a*b^2*e^4)*log(c)
^2 + 72*(6*b^3*d^2*e^2*n^3*x + 3*b^3*e^4*n^3 - 12*a*b^2*e^4*n^2 - (25*b^3*d^4*n^3 - 12*a*b^2*d^4*n^2)*x^2 + 12
*(b^3*d^4*n^2*x^2 - b^3*e^4*n^2)*log(c) - 4*(3*b^3*d^3*e*n^3*x + b^3*d*e^3*n^3)*sqrt(x))*log((d*x + e*sqrt(x))
/x)^2 + 6*(115*b^3*d^2*e^2*n^3 - 156*a*b^2*d^2*e^2*n^2 + 72*a^2*b*d^2*e^2*n)*x - 36*(3*b^3*e^4*n^2 - 12*a*b^2*
e^4*n + 24*a^2*b*e^4 + 2*(13*b^3*d^2*e^2*n^2 - 12*a*b^2*d^2*e^2*n)*x)*log(c) - 12*(9*b^3*e^4*n^3 - 36*a*b^2*e^
4*n^2 + 72*a^2*b*e^4*n - (415*b^3*d^4*n^3 - 300*a*b^2*d^4*n^2 + 72*a^2*b*d^4*n)*x^2 - 72*(b^3*d^4*n*x^2 - b^3*
e^4*n)*log(c)^2 + 6*(13*b^3*d^2*e^2*n^3 - 12*a*b^2*d^2*e^2*n^2)*x - 12*(6*b^3*d^2*e^2*n^2*x + 3*b^3*e^4*n^2 -
12*a*b^2*e^4*n - (25*b^3*d^4*n^2 - 12*a*b^2*d^4*n)*x^2)*log(c) - 4*(7*b^3*d*e^3*n^3 - 12*a*b^2*d*e^3*n^2 + 3*(
25*b^3*d^3*e*n^3 - 12*a*b^2*d^3*e*n^2)*x - 12*(3*b^3*d^3*e*n^2*x + b^3*d*e^3*n^2)*log(c))*sqrt(x))*log((d*x +
e*sqrt(x))/x) - 4*(37*b^3*d*e^3*n^3 - 84*a*b^2*d*e^3*n^2 + 72*a^2*b*d*e^3*n + 72*(3*b^3*d^3*e*n*x + b^3*d*e^3*
n)*log(c)^2 + 3*(415*b^3*d^3*e*n^3 - 300*a*b^2*d^3*e*n^2 + 72*a^2*b*d^3*e*n)*x - 12*(7*b^3*d*e^3*n^2 - 12*a*b^
2*d*e^3*n + 3*(25*b^3*d^3*e*n^2 - 12*a*b^2*d^3*e*n)*x)*log(c))*sqrt(x))/(e^4*x^2)

________________________________________________________________________________________

giac [B]  time = 0.72, size = 2389, normalized size = 4.02 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(1/2))^n))^3/x^3,x, algorithm="giac")

[Out]

1/576*(1152*(d*sqrt(x) + e)*b^3*d^3*n^3*log((d*sqrt(x) + e)/sqrt(x))^3/sqrt(x) - 1728*(d*sqrt(x) + e)^2*b^3*d^
2*n^3*log((d*sqrt(x) + e)/sqrt(x))^3/x - 3456*(d*sqrt(x) + e)*b^3*d^3*n^3*log((d*sqrt(x) + e)/sqrt(x))^2/sqrt(
x) + 3456*(d*sqrt(x) + e)*b^3*d^3*n^2*log(c)*log((d*sqrt(x) + e)/sqrt(x))^2/sqrt(x) + 1152*(d*sqrt(x) + e)^3*b
^3*d*n^3*log((d*sqrt(x) + e)/sqrt(x))^3/x^(3/2) + 2592*(d*sqrt(x) + e)^2*b^3*d^2*n^3*log((d*sqrt(x) + e)/sqrt(
x))^2/x - 5184*(d*sqrt(x) + e)^2*b^3*d^2*n^2*log(c)*log((d*sqrt(x) + e)/sqrt(x))^2/x - 288*(d*sqrt(x) + e)^4*b
^3*n^3*log((d*sqrt(x) + e)/sqrt(x))^3/x^2 + 6912*(d*sqrt(x) + e)*b^3*d^3*n^3*log((d*sqrt(x) + e)/sqrt(x))/sqrt
(x) - 6912*(d*sqrt(x) + e)*b^3*d^3*n^2*log(c)*log((d*sqrt(x) + e)/sqrt(x))/sqrt(x) + 3456*(d*sqrt(x) + e)*b^3*
d^3*n*log(c)^2*log((d*sqrt(x) + e)/sqrt(x))/sqrt(x) - 1152*(d*sqrt(x) + e)^3*b^3*d*n^3*log((d*sqrt(x) + e)/sqr
t(x))^2/x^(3/2) + 3456*(d*sqrt(x) + e)*a*b^2*d^3*n^2*log((d*sqrt(x) + e)/sqrt(x))^2/sqrt(x) + 3456*(d*sqrt(x)
+ e)^3*b^3*d*n^2*log(c)*log((d*sqrt(x) + e)/sqrt(x))^2/x^(3/2) - 2592*(d*sqrt(x) + e)^2*b^3*d^2*n^3*log((d*sqr
t(x) + e)/sqrt(x))/x + 5184*(d*sqrt(x) + e)^2*b^3*d^2*n^2*log(c)*log((d*sqrt(x) + e)/sqrt(x))/x - 5184*(d*sqrt
(x) + e)^2*b^3*d^2*n*log(c)^2*log((d*sqrt(x) + e)/sqrt(x))/x + 216*(d*sqrt(x) + e)^4*b^3*n^3*log((d*sqrt(x) +
e)/sqrt(x))^2/x^2 - 5184*(d*sqrt(x) + e)^2*a*b^2*d^2*n^2*log((d*sqrt(x) + e)/sqrt(x))^2/x - 864*(d*sqrt(x) + e
)^4*b^3*n^2*log(c)*log((d*sqrt(x) + e)/sqrt(x))^2/x^2 - 6912*(d*sqrt(x) + e)*b^3*d^3*n^3/sqrt(x) + 6912*(d*sqr
t(x) + e)*b^3*d^3*n^2*log(c)/sqrt(x) - 3456*(d*sqrt(x) + e)*b^3*d^3*n*log(c)^2/sqrt(x) + 1152*(d*sqrt(x) + e)*
b^3*d^3*log(c)^3/sqrt(x) + 768*(d*sqrt(x) + e)^3*b^3*d*n^3*log((d*sqrt(x) + e)/sqrt(x))/x^(3/2) - 6912*(d*sqrt
(x) + e)*a*b^2*d^3*n^2*log((d*sqrt(x) + e)/sqrt(x))/sqrt(x) - 2304*(d*sqrt(x) + e)^3*b^3*d*n^2*log(c)*log((d*s
qrt(x) + e)/sqrt(x))/x^(3/2) + 6912*(d*sqrt(x) + e)*a*b^2*d^3*n*log(c)*log((d*sqrt(x) + e)/sqrt(x))/sqrt(x) +
3456*(d*sqrt(x) + e)^3*b^3*d*n*log(c)^2*log((d*sqrt(x) + e)/sqrt(x))/x^(3/2) + 3456*(d*sqrt(x) + e)^3*a*b^2*d*
n^2*log((d*sqrt(x) + e)/sqrt(x))^2/x^(3/2) + 1296*(d*sqrt(x) + e)^2*b^3*d^2*n^3/x - 2592*(d*sqrt(x) + e)^2*b^3
*d^2*n^2*log(c)/x + 2592*(d*sqrt(x) + e)^2*b^3*d^2*n*log(c)^2/x - 1728*(d*sqrt(x) + e)^2*b^3*d^2*log(c)^3/x -
108*(d*sqrt(x) + e)^4*b^3*n^3*log((d*sqrt(x) + e)/sqrt(x))/x^2 + 5184*(d*sqrt(x) + e)^2*a*b^2*d^2*n^2*log((d*s
qrt(x) + e)/sqrt(x))/x + 432*(d*sqrt(x) + e)^4*b^3*n^2*log(c)*log((d*sqrt(x) + e)/sqrt(x))/x^2 - 10368*(d*sqrt
(x) + e)^2*a*b^2*d^2*n*log(c)*log((d*sqrt(x) + e)/sqrt(x))/x - 864*(d*sqrt(x) + e)^4*b^3*n*log(c)^2*log((d*sqr
t(x) + e)/sqrt(x))/x^2 - 864*(d*sqrt(x) + e)^4*a*b^2*n^2*log((d*sqrt(x) + e)/sqrt(x))^2/x^2 - 256*(d*sqrt(x) +
 e)^3*b^3*d*n^3/x^(3/2) + 6912*(d*sqrt(x) + e)*a*b^2*d^3*n^2/sqrt(x) + 768*(d*sqrt(x) + e)^3*b^3*d*n^2*log(c)/
x^(3/2) - 6912*(d*sqrt(x) + e)*a*b^2*d^3*n*log(c)/sqrt(x) - 1152*(d*sqrt(x) + e)^3*b^3*d*n*log(c)^2/x^(3/2) +
3456*(d*sqrt(x) + e)*a*b^2*d^3*log(c)^2/sqrt(x) + 1152*(d*sqrt(x) + e)^3*b^3*d*log(c)^3/x^(3/2) - 2304*(d*sqrt
(x) + e)^3*a*b^2*d*n^2*log((d*sqrt(x) + e)/sqrt(x))/x^(3/2) + 3456*(d*sqrt(x) + e)*a^2*b*d^3*n*log((d*sqrt(x)
+ e)/sqrt(x))/sqrt(x) + 6912*(d*sqrt(x) + e)^3*a*b^2*d*n*log(c)*log((d*sqrt(x) + e)/sqrt(x))/x^(3/2) + 27*(d*s
qrt(x) + e)^4*b^3*n^3/x^2 - 2592*(d*sqrt(x) + e)^2*a*b^2*d^2*n^2/x - 108*(d*sqrt(x) + e)^4*b^3*n^2*log(c)/x^2
+ 5184*(d*sqrt(x) + e)^2*a*b^2*d^2*n*log(c)/x + 216*(d*sqrt(x) + e)^4*b^3*n*log(c)^2/x^2 - 5184*(d*sqrt(x) + e
)^2*a*b^2*d^2*log(c)^2/x - 288*(d*sqrt(x) + e)^4*b^3*log(c)^3/x^2 + 432*(d*sqrt(x) + e)^4*a*b^2*n^2*log((d*sqr
t(x) + e)/sqrt(x))/x^2 - 5184*(d*sqrt(x) + e)^2*a^2*b*d^2*n*log((d*sqrt(x) + e)/sqrt(x))/x - 1728*(d*sqrt(x) +
 e)^4*a*b^2*n*log(c)*log((d*sqrt(x) + e)/sqrt(x))/x^2 + 768*(d*sqrt(x) + e)^3*a*b^2*d*n^2/x^(3/2) - 3456*(d*sq
rt(x) + e)*a^2*b*d^3*n/sqrt(x) - 2304*(d*sqrt(x) + e)^3*a*b^2*d*n*log(c)/x^(3/2) + 3456*(d*sqrt(x) + e)*a^2*b*
d^3*log(c)/sqrt(x) + 3456*(d*sqrt(x) + e)^3*a*b^2*d*log(c)^2/x^(3/2) + 3456*(d*sqrt(x) + e)^3*a^2*b*d*n*log((d
*sqrt(x) + e)/sqrt(x))/x^(3/2) - 108*(d*sqrt(x) + e)^4*a*b^2*n^2/x^2 + 2592*(d*sqrt(x) + e)^2*a^2*b*d^2*n/x +
432*(d*sqrt(x) + e)^4*a*b^2*n*log(c)/x^2 - 5184*(d*sqrt(x) + e)^2*a^2*b*d^2*log(c)/x - 864*(d*sqrt(x) + e)^4*a
*b^2*log(c)^2/x^2 - 864*(d*sqrt(x) + e)^4*a^2*b*n*log((d*sqrt(x) + e)/sqrt(x))/x^2 - 1152*(d*sqrt(x) + e)^3*a^
2*b*d*n/x^(3/2) + 1152*(d*sqrt(x) + e)*a^3*d^3/sqrt(x) + 3456*(d*sqrt(x) + e)^3*a^2*b*d*log(c)/x^(3/2) + 216*(
d*sqrt(x) + e)^4*a^2*b*n/x^2 - 1728*(d*sqrt(x) + e)^2*a^3*d^2/x - 864*(d*sqrt(x) + e)^4*a^2*b*log(c)/x^2 + 115
2*(d*sqrt(x) + e)^3*a^3*d/x^(3/2) - 288*(d*sqrt(x) + e)^4*a^3/x^2)*e^(-4)

________________________________________________________________________________________

maple [F]  time = 0.10, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \ln \left (c \left (d +\frac {e}{\sqrt {x}}\right )^{n}\right )+a \right )^{3}}{x^{3}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*ln(c*(d+e/x^(1/2))^n)+a)^3/x^3,x)

[Out]

int((b*ln(c*(d+e/x^(1/2))^n)+a)^3/x^3,x)

________________________________________________________________________________________

maxima [A]  time = 0.89, size = 732, normalized size = 1.23 \[ \frac {1}{8} \, a^{2} b e n {\left (\frac {12 \, d^{4} \log \left (d \sqrt {x} + e\right )}{e^{5}} - \frac {6 \, d^{4} \log \relax (x)}{e^{5}} - \frac {12 \, d^{3} x^{\frac {3}{2}} - 6 \, d^{2} e x + 4 \, d e^{2} \sqrt {x} - 3 \, e^{3}}{e^{4} x^{2}}\right )} + \frac {1}{48} \, {\left (12 \, e n {\left (\frac {12 \, d^{4} \log \left (d \sqrt {x} + e\right )}{e^{5}} - \frac {6 \, d^{4} \log \relax (x)}{e^{5}} - \frac {12 \, d^{3} x^{\frac {3}{2}} - 6 \, d^{2} e x + 4 \, d e^{2} \sqrt {x} - 3 \, e^{3}}{e^{4} x^{2}}\right )} \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{n}\right ) - \frac {{\left (72 \, d^{4} x^{2} \log \left (d \sqrt {x} + e\right )^{2} + 18 \, d^{4} x^{2} \log \relax (x)^{2} - 150 \, d^{4} x^{2} \log \relax (x) - 300 \, d^{3} e x^{\frac {3}{2}} + 78 \, d^{2} e^{2} x - 28 \, d e^{3} \sqrt {x} + 9 \, e^{4} - 12 \, {\left (6 \, d^{4} x^{2} \log \relax (x) - 25 \, d^{4} x^{2}\right )} \log \left (d \sqrt {x} + e\right )\right )} n^{2}}{e^{4} x^{2}}\right )} a b^{2} + \frac {1}{576} \, {\left (72 \, e n {\left (\frac {12 \, d^{4} \log \left (d \sqrt {x} + e\right )}{e^{5}} - \frac {6 \, d^{4} \log \relax (x)}{e^{5}} - \frac {12 \, d^{3} x^{\frac {3}{2}} - 6 \, d^{2} e x + 4 \, d e^{2} \sqrt {x} - 3 \, e^{3}}{e^{4} x^{2}}\right )} \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{n}\right )^{2} + e n {\left (\frac {{\left (288 \, d^{4} x^{2} \log \left (d \sqrt {x} + e\right )^{3} - 36 \, d^{4} x^{2} \log \relax (x)^{3} + 450 \, d^{4} x^{2} \log \relax (x)^{2} - 2490 \, d^{4} x^{2} \log \relax (x) - 4980 \, d^{3} e x^{\frac {3}{2}} + 690 \, d^{2} e^{2} x - 148 \, d e^{3} \sqrt {x} + 27 \, e^{4} - 72 \, {\left (6 \, d^{4} x^{2} \log \relax (x) - 25 \, d^{4} x^{2}\right )} \log \left (d \sqrt {x} + e\right )^{2} + 12 \, {\left (18 \, d^{4} x^{2} \log \relax (x)^{2} - 150 \, d^{4} x^{2} \log \relax (x) + 415 \, d^{4} x^{2}\right )} \log \left (d \sqrt {x} + e\right )\right )} n^{2}}{e^{5} x^{2}} - \frac {12 \, {\left (72 \, d^{4} x^{2} \log \left (d \sqrt {x} + e\right )^{2} + 18 \, d^{4} x^{2} \log \relax (x)^{2} - 150 \, d^{4} x^{2} \log \relax (x) - 300 \, d^{3} e x^{\frac {3}{2}} + 78 \, d^{2} e^{2} x - 28 \, d e^{3} \sqrt {x} + 9 \, e^{4} - 12 \, {\left (6 \, d^{4} x^{2} \log \relax (x) - 25 \, d^{4} x^{2}\right )} \log \left (d \sqrt {x} + e\right )\right )} n \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{n}\right )}{e^{5} x^{2}}\right )}\right )} b^{3} - \frac {b^{3} \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{n}\right )^{3}}{2 \, x^{2}} - \frac {3 \, a b^{2} \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{n}\right )^{2}}{2 \, x^{2}} - \frac {3 \, a^{2} b \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{n}\right )}{2 \, x^{2}} - \frac {a^{3}}{2 \, x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(1/2))^n))^3/x^3,x, algorithm="maxima")

[Out]

1/8*a^2*b*e*n*(12*d^4*log(d*sqrt(x) + e)/e^5 - 6*d^4*log(x)/e^5 - (12*d^3*x^(3/2) - 6*d^2*e*x + 4*d*e^2*sqrt(x
) - 3*e^3)/(e^4*x^2)) + 1/48*(12*e*n*(12*d^4*log(d*sqrt(x) + e)/e^5 - 6*d^4*log(x)/e^5 - (12*d^3*x^(3/2) - 6*d
^2*e*x + 4*d*e^2*sqrt(x) - 3*e^3)/(e^4*x^2))*log(c*(d + e/sqrt(x))^n) - (72*d^4*x^2*log(d*sqrt(x) + e)^2 + 18*
d^4*x^2*log(x)^2 - 150*d^4*x^2*log(x) - 300*d^3*e*x^(3/2) + 78*d^2*e^2*x - 28*d*e^3*sqrt(x) + 9*e^4 - 12*(6*d^
4*x^2*log(x) - 25*d^4*x^2)*log(d*sqrt(x) + e))*n^2/(e^4*x^2))*a*b^2 + 1/576*(72*e*n*(12*d^4*log(d*sqrt(x) + e)
/e^5 - 6*d^4*log(x)/e^5 - (12*d^3*x^(3/2) - 6*d^2*e*x + 4*d*e^2*sqrt(x) - 3*e^3)/(e^4*x^2))*log(c*(d + e/sqrt(
x))^n)^2 + e*n*((288*d^4*x^2*log(d*sqrt(x) + e)^3 - 36*d^4*x^2*log(x)^3 + 450*d^4*x^2*log(x)^2 - 2490*d^4*x^2*
log(x) - 4980*d^3*e*x^(3/2) + 690*d^2*e^2*x - 148*d*e^3*sqrt(x) + 27*e^4 - 72*(6*d^4*x^2*log(x) - 25*d^4*x^2)*
log(d*sqrt(x) + e)^2 + 12*(18*d^4*x^2*log(x)^2 - 150*d^4*x^2*log(x) + 415*d^4*x^2)*log(d*sqrt(x) + e))*n^2/(e^
5*x^2) - 12*(72*d^4*x^2*log(d*sqrt(x) + e)^2 + 18*d^4*x^2*log(x)^2 - 150*d^4*x^2*log(x) - 300*d^3*e*x^(3/2) +
78*d^2*e^2*x - 28*d*e^3*sqrt(x) + 9*e^4 - 12*(6*d^4*x^2*log(x) - 25*d^4*x^2)*log(d*sqrt(x) + e))*n*log(c*(d +
e/sqrt(x))^n)/(e^5*x^2)))*b^3 - 1/2*b^3*log(c*(d + e/sqrt(x))^n)^3/x^2 - 3/2*a*b^2*log(c*(d + e/sqrt(x))^n)^2/
x^2 - 3/2*a^2*b*log(c*(d + e/sqrt(x))^n)/x^2 - 1/2*a^3/x^2

________________________________________________________________________________________

mupad [B]  time = 0.80, size = 846, normalized size = 1.42 \[ \frac {\frac {d\,\left (2\,a^3-\frac {3\,a^2\,b\,n}{2}+\frac {3\,a\,b^2\,n^2}{4}-\frac {3\,b^3\,n^3}{16}\right )}{3\,e}-\frac {d\,\left (24\,a^3-12\,a\,b^2\,n^2+7\,b^3\,n^3\right )}{36\,e}}{x^{3/2}}-{\ln \left (c\,{\left (d+\frac {e}{\sqrt {x}}\right )}^n\right )}^3\,\left (\frac {b^3}{2\,x^2}-\frac {b^3\,d^4}{2\,e^4}\right )+\frac {\frac {d\,\left (\frac {d\,\left (\frac {d\,\left (2\,a^3-\frac {3\,a^2\,b\,n}{2}+\frac {3\,a\,b^2\,n^2}{4}-\frac {3\,b^3\,n^3}{16}\right )}{e}-\frac {d\,\left (24\,a^3-12\,a\,b^2\,n^2+7\,b^3\,n^3\right )}{12\,e}\right )}{e}+\frac {b^2\,d^2\,n^2\,\left (12\,a-13\,b\,n\right )}{8\,e^2}\right )}{e}+\frac {b^2\,d^3\,n^2\,\left (12\,a-25\,b\,n\right )}{4\,e^3}}{\sqrt {x}}+{\ln \left (c\,{\left (d+\frac {e}{\sqrt {x}}\right )}^n\right )}^2\,\left (\frac {\frac {b^2\,d\,\left (4\,a-b\,n\right )}{e}-\frac {4\,a\,b^2\,d}{e}}{2\,x^{3/2}}-\frac {3\,b^2\,\left (4\,a-b\,n\right )}{8\,x^2}+\frac {d\,\left (12\,a\,b^2\,d^3-25\,b^3\,d^3\,n\right )}{8\,e^4}-\frac {d\,\left (\frac {6\,b^2\,d\,\left (4\,a-b\,n\right )}{e}-\frac {24\,a\,b^2\,d}{e}\right )}{8\,e\,x}+\frac {d^2\,\left (\frac {6\,b^2\,d\,\left (4\,a-b\,n\right )}{e}-\frac {24\,a\,b^2\,d}{e}\right )}{4\,e^2\,\sqrt {x}}\right )-\frac {\frac {d\,\left (\frac {d\,\left (2\,a^3-\frac {3\,a^2\,b\,n}{2}+\frac {3\,a\,b^2\,n^2}{4}-\frac {3\,b^3\,n^3}{16}\right )}{e}-\frac {d\,\left (24\,a^3-12\,a\,b^2\,n^2+7\,b^3\,n^3\right )}{12\,e}\right )}{2\,e}+\frac {b^2\,d^2\,n^2\,\left (12\,a-13\,b\,n\right )}{16\,e^2}}{x}-\frac {\frac {a^3}{2}-\frac {3\,a^2\,b\,n}{8}+\frac {3\,a\,b^2\,n^2}{16}-\frac {3\,b^3\,n^3}{64}}{x^2}-\frac {\ln \left (c\,{\left (d+\frac {e}{\sqrt {x}}\right )}^n\right )\,\left (\frac {16\,b\,d\,e^3\,\left (6\,a^2-b^2\,n^2\right )-12\,b\,d\,e^3\,\left (8\,a^2-4\,a\,b\,n+b^2\,n^2\right )}{12\,e^2\,x^{3/2}}+\frac {\frac {d\,\left (\frac {d\,\left (16\,b\,d\,e^3\,\left (6\,a^2-b^2\,n^2\right )-12\,b\,d\,e^3\,\left (8\,a^2-4\,a\,b\,n+b^2\,n^2\right )\right )}{e}-24\,b^3\,d^2\,e^2\,n^2\right )}{e}-48\,b^3\,d^3\,e\,n^2}{4\,e^2\,\sqrt {x}}-\frac {\frac {d\,\left (16\,b\,d\,e^3\,\left (6\,a^2-b^2\,n^2\right )-12\,b\,d\,e^3\,\left (8\,a^2-4\,a\,b\,n+b^2\,n^2\right )\right )}{e}-24\,b^3\,d^2\,e^2\,n^2}{8\,e^2\,x}+\frac {3\,b\,e^2\,\left (8\,a^2-4\,a\,b\,n+b^2\,n^2\right )}{4\,x^2}\right )}{4\,e^2}+\frac {\ln \left (d+\frac {e}{\sqrt {x}}\right )\,\left (72\,a^2\,b\,d^4\,n-300\,a\,b^2\,d^4\,n^2+415\,b^3\,d^4\,n^3\right )}{48\,e^4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*(d + e/x^(1/2))^n))^3/x^3,x)

[Out]

((d*(2*a^3 - (3*b^3*n^3)/16 + (3*a*b^2*n^2)/4 - (3*a^2*b*n)/2))/(3*e) - (d*(24*a^3 + 7*b^3*n^3 - 12*a*b^2*n^2)
)/(36*e))/x^(3/2) - log(c*(d + e/x^(1/2))^n)^3*(b^3/(2*x^2) - (b^3*d^4)/(2*e^4)) + ((d*((d*((d*(2*a^3 - (3*b^3
*n^3)/16 + (3*a*b^2*n^2)/4 - (3*a^2*b*n)/2))/e - (d*(24*a^3 + 7*b^3*n^3 - 12*a*b^2*n^2))/(12*e)))/e + (b^2*d^2
*n^2*(12*a - 13*b*n))/(8*e^2)))/e + (b^2*d^3*n^2*(12*a - 25*b*n))/(4*e^3))/x^(1/2) + log(c*(d + e/x^(1/2))^n)^
2*(((b^2*d*(4*a - b*n))/e - (4*a*b^2*d)/e)/(2*x^(3/2)) - (3*b^2*(4*a - b*n))/(8*x^2) + (d*(12*a*b^2*d^3 - 25*b
^3*d^3*n))/(8*e^4) - (d*((6*b^2*d*(4*a - b*n))/e - (24*a*b^2*d)/e))/(8*e*x) + (d^2*((6*b^2*d*(4*a - b*n))/e -
(24*a*b^2*d)/e))/(4*e^2*x^(1/2))) - ((d*((d*(2*a^3 - (3*b^3*n^3)/16 + (3*a*b^2*n^2)/4 - (3*a^2*b*n)/2))/e - (d
*(24*a^3 + 7*b^3*n^3 - 12*a*b^2*n^2))/(12*e)))/(2*e) + (b^2*d^2*n^2*(12*a - 13*b*n))/(16*e^2))/x - (a^3/2 - (3
*b^3*n^3)/64 + (3*a*b^2*n^2)/16 - (3*a^2*b*n)/8)/x^2 - (log(c*(d + e/x^(1/2))^n)*((16*b*d*e^3*(6*a^2 - b^2*n^2
) - 12*b*d*e^3*(8*a^2 + b^2*n^2 - 4*a*b*n))/(12*e^2*x^(3/2)) + ((d*((d*(16*b*d*e^3*(6*a^2 - b^2*n^2) - 12*b*d*
e^3*(8*a^2 + b^2*n^2 - 4*a*b*n)))/e - 24*b^3*d^2*e^2*n^2))/e - 48*b^3*d^3*e*n^2)/(4*e^2*x^(1/2)) - ((d*(16*b*d
*e^3*(6*a^2 - b^2*n^2) - 12*b*d*e^3*(8*a^2 + b^2*n^2 - 4*a*b*n)))/e - 24*b^3*d^2*e^2*n^2)/(8*e^2*x) + (3*b*e^2
*(8*a^2 + b^2*n^2 - 4*a*b*n))/(4*x^2)))/(4*e^2) + (log(d + e/x^(1/2))*(415*b^3*d^4*n^3 - 300*a*b^2*d^4*n^2 + 7
2*a^2*b*d^4*n))/(48*e^4)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*(d+e/x**(1/2))**n))**3/x**3,x)

[Out]

Timed out

________________________________________________________________________________________